package com.sunnyweather.android.logic.network;

import android.telecom.Call;

import java.util.PrimitiveIterator;

import retrofit2.http.PUT;

public class SunnyWeatherNetwork {
    public static SunnyWeatherNetwork INSTANCE = new SunnyWeatherNetwork();
    private static PlaceService placeService;
    private static WeatherService weatherService;

    static {
        weatherService = (WeatherService) ServiceCreator.INSTANCE.create(WeatherService.class);
        placeService = (PlaceService) ServiceCreator.INSTANCE.create(PlaceService.class);
    }


    public static PlaceService getPlaceService() {
        return placeService;
    }
}
